package com.zhku.laosiji.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by LINWENHAO on 2018/9/12.
 */
@Controller
public class MainController {

    @RequestMapping("/")
    public String index() {
        return "redirect:/user/index";
    }

    @RequestMapping("/admin")
    public String admin() {
        return "login";
    }
}
